package com.sun.showcase.client.query.mall;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.sun.showcase.pojo.SearchModel;
import com.sun.showcase.client.domain.mall.ShopBill;

public class ShopBillQuery extends SearchModel<ShopBill> implements Serializable {
    
  private static final long serialVersionUID = 3148176768559230877L;
    

	  /**
     * ID       db_column: id 
     */	
	private java.lang.String id;
	  /**
     * 类型（0收入1支出）       db_column: type 
     */	
	private java.lang.String type;
	  /**
     * 状态（0进行中1已完成）       db_column: status 
     */	
	private java.lang.String status;
	  /**
     * 金额       db_column: amount 
     */	
	private java.lang.Double amount;
	  /**
     * 备注信息       db_column: remark 
     */	
	private java.lang.String remark;
	  /**
     * 时间       db_column: create_date 
     */	
	private java.util.Date createDate;
	  /**
     * 商家id       db_column: user_id 
     */	
	private java.lang.String userId;
	  /**
     * 商家名称       db_column: user_name 
     */	
	private java.lang.String userName;
	  /**
     * 业务单ID       db_column: bussiness_id 
     */	
	private java.lang.String bussinessId;
	/**
	 * 封装修改时的where条件  key为数据库字段值  value为条件值
	 * */
	private Map<String,Object> searchMap = new HashMap<String,Object>();
	/**
	 * 数据表主键id的数组
	 * */
	private java.lang.String ids[];

	private Double serviceFee;
	
	private Double actualAmount;
	
	public Double getServiceFee() {
		return serviceFee;
	}

	public void setServiceFee(Double serviceFee) {
		this.serviceFee = serviceFee;
	}

	public Double getActualAmount() {
		return actualAmount;
	}

	public void setActualAmount(Double actualAmount) {
		this.actualAmount = actualAmount;
	}

	public java.lang.String getId() {
		return this.id;
	}
	
	public void setId(java.lang.String value) {
		this.id = value;
	}
	
	public java.lang.String getType() {
		return this.type;
	}
	
	public void setType(java.lang.String value) {
		this.type = value;
	}
	
	public java.lang.String getStatus() {
		return this.status;
	}
	
	public void setStatus(java.lang.String value) {
		this.status = value;
	}
	
	public java.lang.Double getAmount() {
		return this.amount;
	}
	
	public void setAmount(java.lang.Double value) {
		this.amount = value;
	}
	
	public java.lang.String getRemark() {
		return this.remark;
	}
	
	public void setRemark(java.lang.String value) {
		this.remark = value;
	}
	
	public java.util.Date getCreateDate() {
		return this.createDate;
	}
	
	public void setCreateDate(java.util.Date value) {
		this.createDate = value;
	}
	
	public java.lang.String getUserId() {
		return this.userId;
	}
	
	public void setUserId(java.lang.String value) {
		this.userId = value;
	}
	
	public java.lang.String getUserName() {
		return this.userName;
	}
	
	public void setUserName(java.lang.String value) {
		this.userName = value;
	}
	
	public java.lang.String getBussinessId() {
		return this.bussinessId;
	}
	
	public void setBussinessId(java.lang.String value) {
		this.bussinessId = value;
	}
	
	public Map<String, Object> getSearchMap() {
		return searchMap;
	}
	
	public void setSearchMap(Map<String, Object> searchMap) {
		this.searchMap = searchMap;
	}
	
	public java.lang.String[] getIds() {
		return ids;
	}
	
	public void setIds(java.lang.String[] ids) {
		this.ids = ids;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.DEFAULT_STYLE);
	}
	
}

